/*
 * @(#)SavedPluginData.java
 */
package com.pluginsacceptor.acceptor.activator.model;

import java.io.Serializable;
import java.util.HashMap;
import java.util.Map;

/**
 * The class contains saved plugin data from all active plugins
 */
public class PluginSavedData implements Serializable {

    /**  */
    private static final long serialVersionUID = 2765291280151386302L;

    /** */
    private final Map<String, Object> pluginData = new HashMap<String, Object>();

    /**
     * Add plugin data
     * @param pluginName the plugin name
     * @param savedData the saved data
     */
    public void addPlugingData(final String pluginName, final Object savedData) {
        this.pluginData.put(pluginName, savedData);
    }

    /**
     * @return the pluginData
     */
    public Map<String, Object> getPluginData() {
        return this.pluginData;
    }


}
